<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/jquery.js"></script>
    <script src="../js/load-html.js"></script>
    <link rel="stylesheet" href="../css/online.css">
    <script src="../js/online.js"></script>
</head>
<body>
<div class="content">
    <div>
        <div id="top"></div>
        <div class="middle">
            <div>
                <div class="title">在线留言</div>
                <div class="area">
                    <div>
                        <div>
                            <div>
                                <div>我们会做的更好!</div>
                                <div> WE WILL .DO BETTER</div>
                            </div>
                        </div>
                        <div>如果您对我们有什么建议、投诉、需求，可以通过留言告诉我们，我们会在第一时间了 解并及时与您联系。
                        </div>
                    </div>
                    <div>
                        <form action="/save" method="get">
                            <div>
                                <div>称呼：</div>
                                <div><input name="username" onkeyup="checkUsername()" id="username" type="text" required
                                            pattern="^[a-zA-Z0-9_-]{4,16}$"></div>
                                <div id="tips"></div>
                            </div>
                            <div>
                                <div>电子邮件：</div>
                                <!--                                required表示必须要检测email是否正确-->
                                <div><input name="email" id="email" type="email" required ></div>
                            </div>
                            <div>
                                <div>内容：</div>
                                <div><textarea name="content" id="content"></textarea></div>
                            </div>
                            <div>
                                <div>联系电话：</div>
                                <div><input name="phone" id="phonea" type="text"></div>
                            </div>
                            <div>
                                <div>密码：</div>
                                <div><input name="password" id="password" type="password" required></div>
                            </div>

                            <div>
                                <input type="submit" value="提交submit" onclick="return save()">
<!--                                <input type="button" value="提交button" onclick="save()">-->

                            </div>
                        </form>
                    </div>
                </div>

            </div>
        </div>
        <div id="foot">

        </div>

    </div>
</div>
</body>
</html>